package com.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AnoConfig {

    @Bean
    public CustomerByAno getCusttomerInstance() {
        CustomerByAno cu = new CustomerByAno();
        cu.setId(333);
        cu.setAge(20);
        cu.setPassword("123456");
        cu.setUname("class66");
        return cu;
    }
}
